<div dojoAttachPoint="containerNode" style="overflow: hidden">
    <div dojoAttachPoint="borderContainer" dojoType="dijit.layout.BorderContainer" title="tabnamn" design="sidebar">
        <div dojoAttachPoint="browse" dojoType="dojox.layout.ExpandoPane" splitter="true" duration="125" region="left" title="Urval" startExpanded="true" maxWidth="400px" style="width: 300px;">
            <!--<div dojoType="dijit.layout.ContentPane">
                <p>sök</p>-->
			<!--<div dojoAttachPoint="tree"></div>-->
			<!--<div dojoAttachPoint="tmodel" dojoType="dijit.tree.TreeStoreModel" id="treemodel" store="structureStore" query="{idstructure:1}" jsId="treemodel" labelAttr="name" childrenAttrs="['children']"></div>-->
	            <div dojoAttachPoint="tree" openOnClick="false" jsId="treeobj" model="structureTreeModel" queryOptions="{cache:true}" dojoType="dijit.Tree" dndController="dijit._tree.dndSource" betweenThreshold="5" dragThreshold="5">
	            </div>
            <!--</div>-->
        </div>
        <div region="center" dojoAttachPoint="main" dojoType="dijit.layout.ContentPane" title="Artikel" style="overflow: hidden">
                <div dojoAttachPoint="forms" dojoType="dijit.Editor" extraPlugins="[
{name:  'dojox.editor.plugins.UploadImage',
 renderEvent: 'ss/renderDone',
 command: 'uploadImage',
 uploadUrl:'/images/UploadFile.php',
 downloadPath:'/images/',
 tempImageUrl:'/gui/busy.gif'}]"
 name="header" styleSheets="/css/default.css">
                    <p>Text</p>
                </div>
        </div>
        <div dojoAttachPoint="buttonBar" class="buttonbar" dojoType="dijit.layout.ContentPane" region="bottom" splitter="false" style="height: 27px; padding: 0; border: 0; margin: 0"></div>
        <div dojoAttachPoint="detail" dojoType="dojox.layout.ExpandoPane" splitter="true" duration="125" region="right" title="Detaljer" startExpanded="false" maxWidth="400px" style="width: 300px">
            <div dojoAttachPoint="accordion" dojoType="dijit.layout.AccordionContainer">
                <div dojoAttachPoint="categoryPane" dojoType="dijit.layout.ContentPane" title="Namn">
	                <label for="firstname">Namn</label>
	                <input type="text" dojoAttachPoint="forms,slugsource" name="name" dojoType="dijit.form.TextBox" />
	                <label for="headline">Rubrik</label>
	                <input type="text" dojoAttachPoint="forms" name="headline" dojoType="dijit.form.TextBox" />
	                <label for="slug">Slug</label>
	                <input type="text" dojoAttachPoint="forms,slug" name="slug" dojoType="dijit.form.TextBox" />
	                <label for="active">Active</label>
	                <input dojoAttachPoint="forms" value="active" name="active" dojoType="dijit.form.CheckBox"/>
	                <label for="header_method">Sidhuvud</label>
					<select dojoAttachPoint="forms" dojoType="dijit.form.FilteringSelect" 
				        name="header_method" 
				        autocomplete="true" 
				        value="0">
				                <option value="0" >Visa inte</option>
				                <option value="1" >Visa enbart denna</option>
				                <option value="2" >Lägg till</option>
					</select>
	                <label for="header_recurse">Visa på undersidor</label>
	                <input dojoAttachPoint="forms" value="active" name="header_recurse" dojoType="dijit.form.CheckBox"/>
                </div>
                <div dojoAttachPoint="publishPane" dojoType="dijit.layout.ContentPane" title="Publicering">
                </div>
                <div dojoAttachPoint="categoryPane" dojoType="dijit.layout.ContentPane" title="Kategorier">
                	<div style="height: 100%; width: 100%" dojoAttachPoint="forms" multiple="true" dojoType="slipstream.form.CheckedMultiSelect" store="categoryStore" name="catidlist"></div>
                </diV>
            </div>
        </div>
    </div>
</div>
